package com.lsfb.signsys.position;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.lsfb.signsys.BaseFragment;
import com.lsfb.signsys.R;
import com.lsfb.signsys.utils.Utils;

import butterknife.BindView;
import io.reactivex.Observer;
import io.reactivex.android.plugins.RxAndroidPlugins;

/**
 * Created by zgscwjm on 2018/3/29.
 */

public class PositionFragment extends BaseFragment {

    @BindView(R.id.fg_postion_tv_name)
    TextView tv_name;

    @Override
    public int getContentView() {
        return R.layout.fragment_postion;
    }

    @Override
    public void init() {
        Utils.getInstall().subscript(b -> {
            tv_name.setText(b.getUserName());
        });
    }
}
